import { http } from '@/utils/http/axios';

/**
 * @description: 获取图片列表
 */
export function promotionList(params) {
    return http.request({
      url: '/disposition/promotionlist',
      method: 'GET',
      params,
    });
}

//
export function addPromotion(params){
    
    return http.request({
        url: '/disposition/addpromotion',
        method: 'POST',
        params,
    });

}

export function infoPromotion(params){

    return http.request({
        url: '/disposition/infopromotion',
        method: 'POST',
        params,
    });

}

export function editPromotion(params){
    
    return http.request({
        url: '/disposition/editpromotion',
        method: 'POST',
        params,
    });

}

export function delpromotion(params){
    return http.request({
        url: '/disposition/delpromotion',
        method: 'POST',
        params,
    });

    
}
